package com.lxz.spring.test;

public class Instrumentalist implements Performer{
	public Instrumentalist(){
		
	}
	
	public void perform() {
		System.out.println("Playing " + song + " : ");
		instrument.play();
	}
	
	private String song;
	private Instrument instrument;
	
	public String getSong(){
		return song;
	}
	
	public void setSong(String song){
		this.song = song;
	}

	public void setInstrument(Instrument instrument){
		this.instrument = instrument;
	}
}
